package org.misty.seckill.service;

import org.misty.seckill.model.Order;
import org.misty.seckill.model.User;
import org.misty.seckill.vo.SGoodsVo;

public interface SeckillService {
  Order seckill(User user, SGoodsVo goods);

  Order getOrderById(User user, long id);

  void putAllOnSale();

  Long placeOrder(User user, long goodsId, long queuingId);

  void reset();
}
